<include file="public@head"/>
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a>回复评论</a></li>
    </ul>
    <form method="post" class="form-horizontal margin-top-20" action="{:cmf_plugin_url('DComment://AdminIndex/reply')}">
        <div class="form-group">
            <label for="input-full_name" class="col-sm-2 control-label">评论用户</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-full_name" name="to_user_name" value="@{$commentlist.full_name}" readonly>
            </div>
        </div>
        <div class="form-group">
            <label for="input-more" class="col-sm-2 control-label">评论文章</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-more" name="more" value="{$commentlist.more}" readonly>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">评论内容</label>
            <div class="col-md-6 col-sm-10">
                <textarea rows="4" class="form-control"  readonly>{$commentlist.content}</textarea>
            </div>
        </div>


        <div class="form-group">
            <label for="input-content" class="col-sm-2 control-label">回复内容</label>
            <div class="col-md-6 col-sm-10">
                <textarea rows="4" class="form-control" name="content"
                          id="input-content">{$commenreply.content}</textarea>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <input type="hidden" name="id" value="{$commentlist.id}">
                <input type="hidden" name="parent_id" value="{$commentlist.id}">
                <input type="hidden" name="object_id" value="{$commentlist.object_id}">
                <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
                <a class="btn btn-default" href="{:cmf_plugin_url('DComment://AdminIndex/index')}">{:lang('BACK')}</a>
            </div>
        </div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>